package com.hqd.ch03.v5.registry;

import com.hqd.ch03.v5.config.BeanDefinition;

/**
 * 缓存Bean定义信息
 */
public interface BeanDefinitionRegistry {
    void registerBeanDefinition(String beanName, BeanDefinition beanDefinition);

    void removeBeanDefinition(String beanName);

    BeanDefinition getBeanDefinition(String beanName);

    boolean containsBeanDefinition(String beanName);
}
